﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataMode;

namespace IBLL
{
    public interface UserinfoIBLL
    {
        IQueryable getUserinfo(String username);
        void userRegister(String username, String password, string email, string sex, DateTime birthday, string safe_Q, string safe_A);
        bool userValidate(String username, string token);
        bool login(string username, string password);
        bool hasUsername(string username);
        userinfo getuserinfo(string name);
        void UpdateUserInfo(userinfo ui, string name);
    }
}
